<script>
var doVerified = function(id)
{
	var $info = $('#info')
	var info  = $info.val()
	if ( '' == info || undefined == info) {
		ui.error('请输入认证身份');
		$info.focus();
		return false;
	}

	var id = id ? id : getChecked();
    id = id.toString();
    if(id == '' || id == 0) return ;
      $.post( '{:Addons::adminUrl('doVerified')}',{uid:id,info:encodeURIComponent(info)},function(text){
          if( text == 1 ){
              ui.success( "操作成功" );
              var id_list = id.split( ',' );   
              for (var j=0 ; j< id_list.length ; j++   ){
                  $('#user_'+id_list[j]).remove();
              }
          }else if( text == 2 ){
              ui.success( "操作成功" );
              $('#user_'+id).remove();
          }else{
              ui.error( "操作失败" );
          }
          ui.box.close();
      });
};
</script>
<textarea name="info" id="info" cols="40" rows="3">{$info}</textarea>
<br />
<div class="alR" style="background:#F8F8F8; padding:5px;">
	<input type="button" value="确定" class="btn_b" onclick="doVerified({$_GET['uid']})" />
	<input type="button" value="取消" class="btn_w" onclick="ui.box.close()" />
</div>